package com.unisal.java;

public class TVComandoDesliga implements Comando{

	TV tv;

	public TVComandoDesliga(TV tv) {

		this.tv = tv;
	}

	@Override
	public void execute() {
		tv.off();
	}

	@Override
	public void voltar() {
		tv.on();
		
	}

}
